﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Organisations
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <%
        var isWizard = Request.QueryString.AllKeys.Contains("wizard");
    %>
    <h2>
        <%= isWizard ? "Please find an organisation first" : "Organisations" %></h2>
    <% Html.RenderPartial("Search"); %>
    <div id="grid">
        <% Html.RenderPartial("Grid", Model); %>
    </div>
    <p>
        <%= Html.ActionLink("Create an organisation", "Create") %></p>
        
</asp:Content>
